<?php

namespace app\adminapi\controller;

use think\Controller;

class Login extends BaseApi
{
    public function captcha(){
        //验证码标识
        $uniqud = uniqid(mt_rand(100000,999999));
        $data = [
            'src' => captcha_src($uniqud),
           'uniqud' => $uniqud,
        ];
        $this-> ok($data);
    }
}
